add_qtc_plugin(ModelEditor
  DEFINES MODELEDITOR_LIBRARY
  DEPENDS Modeling Qt5::Core Qt5::Gui Qt5::Widgets
  PLUGIN_DEPENDS Core CppTools ProjectExplorer
  SOURCES
    actionhandler.cpp actionhandler.h
    classviewcontroller.cpp classviewcontroller.h
    componentviewcontroller.cpp componentviewcontroller.h
    diagramsviewmanager.cpp diagramsviewmanager.h
    dragtool.cpp dragtool.h
    editordiagramview.cpp editordiagramview.h
    elementtasks.cpp elementtasks.h
    extdocumentcontroller.cpp extdocumentcontroller.h
    extpropertiesmview.cpp extpropertiesmview.h
    jsextension.cpp jsextension.h
    modeldocument.cpp modeldocument.h
    modeleditor.cpp modeleditor.h
    modeleditor_constants.h
    modeleditor_global.h
    modeleditor_plugin.cpp modeleditor_plugin.h
    modeleditorfactory.cpp modeleditorfactory.h
    modelindexer.cpp modelindexer.h
    modelsmanager.cpp modelsmanager.h
    modelutilities.cpp modelutilities.h
    openelementvisitor.cpp openelementvisitor.h
    packageviewcontroller.cpp packageviewcontroller.h
    pxnodecontroller.cpp pxnodecontroller.h
    pxnodeutilities.cpp pxnodeutilities.h
    resources/modeleditor.qrc
    settingscontroller.cpp settingscontroller.h
    uicontroller.cpp uicontroller.h
  EXPLICIT_MOC
    actionhandler.h
    modeleditor.h
    modeleditorfactory.h
)
